home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / asm_n_z.zip / SDL32.DOC < prev    next >
Text File  |  1988-08-16  |  2KB  |  56 lines

  1.  SORTED DIRECTORY LIST 3.2
  2.  
  3.  SDL [d:][path][filename[.ext]][/options]
  4.  
  5.  Options:   General
  6.          E    erase screen
  7.          P    pause when screen full
  8.          W    4 column format (2 if width 40)
  9.         Sort options (sort on filename.ext is the default)
  10.          N    do not sort entries
  11.          S    sort by file size
  12.          D    sort by date and time
  13.          X    sort by file type (ext)
  14.         Sub-directories
  15.          T    list sub-directory names
  16.          F    use with T to list file names by directory
  17.          I    use with TF to indent file lists (not supported on
  18.             width 40 screens)
  19.          A    use with T to list all file names together
  20.  
  21.  Default:   *.* sorted by name.ext, 2 cols wide (1 on width 40 screen), no
  22.         screen erase or pause at end of page, using current directory.
  23.  
  24.  Notes:
  25.     1. Path specifications:
  26.        a. paths must end with \.
  27.        b. specifying a leading \ starts the path search at the root directory.
  28.       No leading \ will start the path at the current directory.
  29.        c. not specifying a path starts the operation at the current directory.
  30.     2. The space used by sub-directories is not accounted for.
  31.     3. Directory listings do not include the '.' or '..' entries.
  32.     4. The specified filename.ext may include ? and/or *.
  33.  
  34.  Output formats:   Width 80 - 2 or 4 columns   (option TFI - 1 or 2 columns)
  35.            Width 40 - 1 or 2 columns
  36.  
  37.  Filename in listing may be preceeded by one of the following char.:
  38.         r - read-only file
  39.         h - hidden file
  40.         s - system file
  41.         \ - sub-directory name
  42.     If a file has more than 1 attribute, only the last is shown.
  43.  
  44.  Written by W. C. Bodycomb
  45.         Version 1.0 - original version, runs under DOS 1.0 and 1.1
  46.         Version 2.0 - support for DOS 2.0, runs under DOS 1.0, 1.1, 2.0
  47.         Version 3.0 - support for paths and sub-directories, runs under
  48.               DOS 2.0.  
  49.         Version 3.1 - Sort in descending order for date and file size 
  50.         options.  Make file extension ".*" by default.  Fix MASM 3 errors. 
  51.         Reversed test for 80 column display because some MS-DOS systems do 
  52.         not use the fixed address that PC-DOS does. Print the directory 
  53.         name instead of "<curr>". Ted Shapin.  Nov. 21, 1985.
  54.         Version 3.2 - DOS 4.0 supports disks of more than 32 megabytes so
  55.         sector count was causing a divide overflow. Aug. 24, 1988.
  56.